package com.orkhonsoft.tengrinshar.chat.entity;

import java.io.Serializable;
import java.util.Date;



/**
 * 好友
 * 
 * @author bain
 * @email 2668013653@qq.com
 * @date 2018-10-29 10:59:17
 */
public class FriendEntity implements Serializable {
	private static final long serialVersionUID = 1L;
	
	//ID
	private Long id;
	//用户ID
	private Long userId;
	//好友ID
	private Long friendUserId;
	//星标
	private Integer special;
	//备注
	private String remark;
	//创建时间
	private Date createTime;

	private UserEntity user;

	/**
	 * 设置：ID
	 */
	public void setId(Long id) {
		this.id = id;
	}
	/**
	 * 获取：ID
	 */
	public Long getId() {
		return id;
	}
	/**
	 * 设置：用户ID
	 */
	public void setUserId(Long userId) {
		this.userId = userId;
	}
	/**
	 * 获取：用户ID
	 */
	public Long getUserId() {
		return userId;
	}
	/**
	 * 设置：好友ID
	 */
	public void setFriendUserId(Long friendUserId) {
		this.friendUserId = friendUserId;
	}
	/**
	 * 获取：好友ID
	 */
	public Long getFriendUserId() {
		return friendUserId;
	}
	/**
	 * 设置：星标
	 */
	public void setSpecial(Integer special) {
		this.special = special;
	}
	/**
	 * 获取：星标
	 */
	public Integer getSpecial() {
		return special;
	}
	/**
	 * 设置：备注
	 */
	public void setRemark(String remark) {
		this.remark = remark;
	}
	/**
	 * 获取：备注
	 */
	public String getRemark() {
		return remark;
	}
	/**
	 * 设置：创建时间
	 */
	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}
	/**
	 * 获取：创建时间
	 */
	public Date getCreateTime() {
		return createTime;
	}

	public UserEntity getUser() {
		return user;
	}

	public void setUser(UserEntity user) {
		this.user = user;
	}

	@Override
	public String toString() {
		return "FriendEntity [id=" + id + ", userId=" + userId + ", friendUserId=" + friendUserId + ", special="
				+ special + ", remark=" + remark + ", createTime=" + createTime + "]";
	}
	
	
}
